package com.a214.yxz.yuejian013.Activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Toast;

import com.a214.yxz.yuejian013.R;

public class UserSettingEmailUsActivity extends AppCompatActivity {

    private ImageButton return_btn;
    private EditText content,contect;
    private Button submit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_setting_email_us);

        return_btn= (ImageButton) findViewById(R.id.user_setting_emailUs_return_btn);
        content= (EditText) findViewById(R.id.user_setting_emailUs_content);
        contect= (EditText) findViewById(R.id.user_setting_emailUs_contect);
        submit= (Button) findViewById(R.id.user_setting_emailUs_submit_btn);


        return_btn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });

        submit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                //操作
                Toast.makeText(UserSettingEmailUsActivity.this, "发送成功", Toast.LENGTH_SHORT).show();
                finish();
            }
        });
    }
}
